home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Amiga Amateur Radio User Group
/
AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip
/
AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf
/
DisView
/
PPP
< prev
next >
Wrap
Text File
|
1995-05-17
|
12KB
|
297 lines
=== DISview [518]
ppp
===
The 'ppp' commands are used for Point to Point Protocol
interfaces.
This implementation of PPP is designed to be as complete as
possible. Because of this, the number of options can be rather
daunting. However, a typical PPP configuration might include the
following commands:
attach asy 0x3f8 4 ppp sl0 4096 576 38400
#
ppp sl0 lcp local mru 576
ppp sl0 lcp remote mru 576
ppp sl0 lcp local accm 0x000a0000
ppp sl0 lcp local pfc on
ppp sl0 lcp local acfc on
ppp sl0 ipcp local compress tcp 16 1
ppp sl0 lcp open active
ppp sl0 ipcp open active
ppp sl0 idle 120 exit
route add default sl0 158.152.1.65 1
_________________________________________________________________
ppp <interface>
_________________________________________________________________
Display the status of the PPP interface.
_________________________________________________________________
ppp <interface> idle [<seconds> [exit|noexit]]
_________________________________________________________________
Close the PPP connection (which makes the gateway drop the line)
after the specified number of seconds has elapsed without any
TCP/IP activity on the line.
LCP messages sent by the gateway and KA9Q are ignored for the
purpose of deciding whether the line is idle. This deals with the
LCP "pings" which are sent by the gateway for line monitoring
purposes.
The default setting is 0 seconds which disables the idle timer.
The 'exit' parameter shuts down KA9Q NET and exits to DOS when
the idle timeout expires. The default is 'noexit' which
corresponds to the current behaviour.
Disclaimer:
This command is provided as a convenience only. It is
specifically not advertised as a reliable method of disconnecting
links to the gateway. No guarantee is made that this command will
ever cause the line to be dropped. None of Giles Todd, Rundart
Limited or Demon Internet Services accept any liability for
excess telephone charges or any other problems which may result
from a misplaced reliance on the properties of this command. Use
it at your own risk.
The following commands are used for the LCP (Link Control
Protocol) configuration.
_________________________________________________________________
ppp <interface> lcp close
_________________________________________________________________
Shutdown the PPP interface.
_________________________________________________________________
ppp <interface> lcp local ...
_________________________________________________________________
The 'lcp local' commands control the configuration of the local
side of the link. If an option is specified, the parameters will
be used as the initial values in configuration requests. If not
specified, that option will not be requested.
For each of these options, the 'allow' parameter will permit the
remote host to include that option in its response, even when the
option is not included in the request. By default, all options
are allowed.
_________________________________________________________________
ppp <interface> lcp local accm [ <bitmap> | allow [on | off] ]
_________________________________________________________________
Display or set the ACCM (Async Control Character Map). The
default is 0xffffffff.
_________________________________________________________________
ppp <interface> lcp local authenticate [ pap | none | allow
[on | off] ]
_________________________________________________________________
Display or set the authentication protocol. The default is none.
_________________________________________________________________
ppp <interface> lcp local compress address/control
[ on | off | allow [on | off] ]
_________________________________________________________________
Display or set the option to compress the address and control
fields of the PPP HLDC-like header. This is generally desirable
for slow asynchronous links, and undesirable for fast or
synchronous links. The default is off.
_________________________________________________________________
ppp <interface> lcp local compress protocol
[ on | off | allow [on|off]]
_________________________________________________________________
Display or set the option to compress the protocol field of the
PPP HLDC-like header. This is generally desirable for slow
asynchronous links, and undesirable for fast or synchronous
links. The default is off.
_________________________________________________________________
ppp <interface> lcp local magic [ on | off | <value> | allow
[on|off] ]
_________________________________________________________________
Display or set the initial Magic Number. The default is off
(zero).
_________________________________________________________________
ppp <interface> lcp local mru [ <size> | allow [on | off] ]
_________________________________________________________________
Display or set the Maximum Receive Unit. The default is 1500.
_________________________________________________________________
ppp <interface> lcp local default
_________________________________________________________________
Reset the options to their default values.
_________________________________________________________________
ppp <interface> lcp open active | passive
_________________________________________________________________
Wait for the physical layer to come up. If 'active', initiate
configuration negotiation. If 'passive', wait for configuration
negotiation from the remote.
_________________________________________________________________
ppp <interface> lcp remote ...
_________________________________________________________________
The 'lcp remote' commands control the configuration of the remote
side of the link. The options are identical to those of the
local side.
If an option is specified, the parameters will be used in
responses to the remote's configuration requests.
If not specified, that option will be accepted if it is allowed.
For each of these options, the 'allow' parameter will permit the
remote to specify that option in its request.
By default, all options are allowed.
_________________________________________________________________
ppp <interface> lcp timeout [<seconds>] Default: 3
_________________________________________________________________
Display or set the interval to wait between configuration or
termination attempts.
_________________________________________________________________
ppp <interface> lcp try ...
_________________________________________________________________
The 'lcp try' commands are used for the various counters.
_________________________________________________________________
ppp <interface> lcp try configure [<count>] Default: 10
_________________________________________________________________
Display or set the number of configuration requests sent.
_________________________________________________________________
ppp <interface> lcp try failure [<count>] Default: 5
_________________________________________________________________
Display or set the number of bad configuration requests allowed
from the remote.
_________________________________________________________________
ppp <interface> lcp try terminate [<count>] Default: 2
_________________________________________________________________
Display or set the number of termination requests sent before
shutdown.
_________________________________________________________________
ppp <interface> ipcp ...
_________________________________________________________________
The 'ipcp' commands are used for the Internet Protocol Control
Protocol configuration.
The 'close', 'open', 'timeout' and 'try' sub-commands are
identical to the LCP (described above).
_________________________________________________________________
ppp <interface> ipcp local ...
_________________________________________________________________
The 'ipcp local' commands control the configuration of the local
side of the link. If an option is specified, the parameters will
be used as the initial values in configuration requests. If not
specified, that option will not be requested.
For each of these options, the 'allow' parameter will permit the
remote to include that option in its response, even when the
option is not included in the request. By default, all options
are allowed.
_________________________________________________________________
ppp <interface> ipcp local address [ <hostid> | allow
[on | off] ]
_________________________________________________________________
Display or set the local address for negotiation purposes. If an
address of 0 is specified, the other side of the link will supply
the address. By default, no addresses are negotiated.
_________________________________________________________________
ppp <interface> ipcp local compress [ tcp <slots>
[<flag>] | none | allow [on | off] ]
_________________________________________________________________
Display or set the compression protocol. The default is none.
The tcp <slots> specifies the number of "conversation" slots,
which must be 1 to 255. (This may be limited at compilation time
to a smaller number.) A good choice is in the range 4 to 16.
The tcp <flag> is 0 (don't compress the slot number) or 1 (OK to
compress the slot number). KA9Q NET can handle compressed slot
numbers, so the default is 1.
_________________________________________________________________
ppp <interface> ipcp remote ...
_________________________________________________________________
The 'ipcp remote' commands control the configuration of the
remote side of the link. The options are identical to those of
the local side. If an option is specified, the parameters will
be used in responses to the remote's configuration requests. If
not specified, that option will be accepted if it is allowed.
For each of these options, the 'allow' parameter will permit the
remote to specify that option in its request. By default, all
options are allowed.
_________________________________________________________________
ppp <iface> pap ...
_________________________________________________________________
The 'pap' commands are used for the Password Authentication
Protocol configuration.
The 'timeout' and 'try' sub-commands are identical to the LCP
(described above). However, the terminate counter is unused.
_________________________________________________________________
ppp <interface> pap user [ <username> [<password>] ]
_________________________________________________________________
Display or set the <username>.
The <password> may also be set, but not displayed.
When <username> is specified, but no password is supplied, the
~/ftpusers file is searched for the password. When a username-
password pair is unknown or rejected, a session will appear at
the console to prompt for a new username-password.
_________________________________________________________________
ppp <interface> trace [<flags>]
_________________________________________________________________
Display or set the flags that control the logging of information
during PPP link configuration.
The flag values are:
0: No trace
1: Basic trace
2: General trace
Values greater than 2 are usually not compiled, and are described
in the appropriate source files where they are defined.